<?php
/**
 * Created by PhpStorm
 * User: whh
 * Date: 2022/7/23
 * Time: 11:53
 */

namespace app\common\model;

use think\Model;


class QuickOpen extends Model
{
    protected $table = 'quick_open';

    public function getNovelIdArrAttr($value, $data)
    {
        return array_filter(explode(',', $data['novels']));
    }
}